package cn.net.cfss.fgbp.auth;

import cn.net.cfss.fgbp.base.config.DruidConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringCloudApplication
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class})
@ComponentScan(value={"cn.net.cfss.fgbp.auth","cn.net.cfss.fgbp.base.config"}
		,excludeFilters={@ComponentScan.Filter(type= FilterType.ASSIGNABLE_TYPE, value=DruidConfig.class)})//组件扫描
@EnableFeignClients(basePackages= {"cn.net.cfss.fgbp.api.console.inte", "cn.net.cfss.fgbp.spi.manage.inte"})
public class AuthApplication {

	public static void main(String[] args) {
		SpringApplication.run(AuthApplication.class, args);
	}


}

